package com.base.service.impl;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.mapper.voipmapper.UsersRebateConfigMapper;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.po.voip.UsersRebateConfig;
import com.base.po.voip.UsersRebateConfigExample;
import com.base.service.AboutsService;
import com.base.service.UsersRebateConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("usersRebateConfigService")
public class UsersRebateConfigServiceImpl implements UsersRebateConfigService {
	
	@Autowired
	private UsersRebateConfigMapper usersRebateConfigMapper;


	@Override
	public int countByExample(UsersRebateConfigExample example) {
		return usersRebateConfigMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(UsersRebateConfigExample example) {
		return usersRebateConfigMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return usersRebateConfigMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(UsersRebateConfig record) {
		return usersRebateConfigMapper.insert(record);
	}

	@Override
	public int insertSelective(UsersRebateConfig record) {
		return usersRebateConfigMapper.insertSelective(record);
	}

	@Override
	public List<UsersRebateConfig> selectByExample(UsersRebateConfigExample example) {
		return usersRebateConfigMapper.selectByExample(example);
	}

	@Override
	public UsersRebateConfig selectByPrimaryKey(Integer id) {
		return usersRebateConfigMapper.selectByPrimaryKey(id);
	}

	@Override
	public UsersRebateConfig selectByParentId(String parentid) {
		return usersRebateConfigMapper.selectByParentId(parentid);
	}

	@Override
	public int updateByExampleSelective(UsersRebateConfig record, UsersRebateConfigExample example) {
		return usersRebateConfigMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(UsersRebateConfig record, UsersRebateConfigExample example) {
		return usersRebateConfigMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(UsersRebateConfig record) {
		return usersRebateConfigMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UsersRebateConfig record) {
		return usersRebateConfigMapper.updateByPrimaryKey(record);
	}
}
